package com.jc.mapper;

import com.jc.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;

public interface UserMapper {

    int insert(String name,String password);

    User selectBynamepassword(@Param("name") String name, @Param("password") String password);

    int deleteUser(Integer id);

}